/* 滚动槽 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  border-radius: 6px;
  /* background: rgba(255, 255, 255, 0.5); */
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.01);
  -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

/* 滚动条交汇处 */
::-webkit-scrollbar-corner {
  background: transparent;
}

:root {
  --el-color-primary: #636fff !important;
  --el-color-primary-light-3: #7882ff !important;
}

:root.dark {
  --el-color-primary: #7e8dff !important;
  --el-color-primary-light-3: #8ca0ff !important;

  /* 滚动条滑块 */
  ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    -webkit-box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5);
  }
}

.slide-fade-enter-active {
  transition: all 0.5s ease-out;
}

.slide-fade-leave-active {
  transition: all 0.5s ease;
}

.slide-fade-enter-from,
.slide-fade-leave-to {
  transform: translateX(320px);
  opacity: 0;
}

.chat-content,
.no-scrollbar {

  /* 滚动槽 */
  &::-webkit-scrollbar {
    width: 0px;
    height: 0px;
  }

  &::-webkit-scrollbar-track {
    border-radius: 0px;
    /* background: rgba(255, 255, 255, 0.5); */
  }

  /* 滚动条滑块 */
  &::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.01);
    -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
  }
}